﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>IniReadStr（读取INI文件字符串类型数据）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function IniReadStr(file As WString Ptr, sec As WString Ptr, key As WString Ptr) As WString Ptr<br>wchar* IniReadStr(wchar* file, wchar* sec, wchar* key);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" IniReadStr(ByVal file As Srting, ByVal sec As Srting, ByVal key As Srting) As String</P>
<P>参数：<br>file：ini文件路径<br>sec：小节名<br>key：键名</P>
<P>返回读取到的数据，如果失败，返回空字符串</P>
<P>说明：<br>读取ini文件中的字符串字段。</P>
</body>
</html>